//
//  DataBaseFouceStarModel.h
//  WULIHH
//
//  Created by tang on 16/4/5.
//  Copyright © 2016年 tang. All rights reserved.
//






/*----------------此类为关注明星数据库------------------------*/





#import <Foundation/Foundation.h>

typedef void(^getStarID)(NSString *string);

@interface DataBaseFouceStarModel : NSObject




//打开数据库，若果表不存在，创建表
- (void)openDataBase;



//写入明星数据
- (void)writeStarInfoWithName:(NSString *)name  withImage:(NSString *)imageUrl withID:(NSString *)stringID;


//读取明星数据,    获取id
- (void)getStarID:(getStarID)callBack;

//删除关注明星
- (void)deleteStarWithInfoWithID:(NSString *)IDstring;




//关闭数据库
- (void)closeDataBase;


@end
